package com.peoit.honeycomb.application;

import java.util.List;

import com.peoit.honeycomb.domain.repository.EntityRepository;
import com.peoit.honeycomb.dto.CommentsDto;

/**
 * 发布讨论application
 * 
 * @author shisheng.zheng
 *
 */
public interface CommentsApplication extends EntityRepository {
	/**
	 * 发布讨论
	 * 
	 * @param projectId
	 * @param userId
	 * @param content
	 */
	public void publishComment(String projectId, String discussantId, String content);

	/**
	 * 获取项目评论列表
	 * 
	 * @param projectId
	 * @return
	 */
	public List<CommentsDto> getProjectComments(String projectId);

}
